package com.wangjiang.mario.admin.system.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangjiang.mario.admin.system.domain.entity.RoleDeptEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
public interface RoleDeptMapper extends BaseMapper<RoleDeptEntity> {

    Integer batchInsertRoleDepts(List<RoleDeptEntity> roleDeptEntities);

    Integer deleteRoleDeptByRoleCode(@Param("roleCode") String roleCode);

    List<RoleDeptEntity> selectListByRoleCodeList(List<String> roleCodeList);
}
